﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020003C5 RID: 965
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class DIEEHLNJLON : IMessage<DIEEHLNJLON>, IMessage, IEquatable<DIEEHLNJLON>, IDeepCloneable<DIEEHLNJLON>, IBufferMessage
	{
		// Token: 0x17000C58 RID: 3160
		// (get) Token: 0x06002B1A RID: 11034 RVA: 0x00076F1B File Offset: 0x0007511B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<DIEEHLNJLON> Parser
		{
			get
			{
				return DIEEHLNJLON._parser;
			}
		}

		// Token: 0x17000C59 RID: 3161
		// (get) Token: 0x06002B1B RID: 11035 RVA: 0x00076F22 File Offset: 0x00075122
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return DIEEHLNJLONReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17000C5A RID: 3162
		// (get) Token: 0x06002B1C RID: 11036 RVA: 0x00076F34 File Offset: 0x00075134
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return DIEEHLNJLON.Descriptor;
			}
		}

		// Token: 0x06002B1D RID: 11037 RVA: 0x00076F3B File Offset: 0x0007513B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public DIEEHLNJLON()
		{
		}

		// Token: 0x06002B1E RID: 11038 RVA: 0x00076F44 File Offset: 0x00075144
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public DIEEHLNJLON(DIEEHLNJLON other) : this()
		{
			this.aGBKKKNDOGO_ = ((other.aGBKKKNDOGO_ != null) ? other.aGBKKKNDOGO_.Clone() : null);
			this.gNFGHEFOPLB_ = other.gNFGHEFOPLB_;
			this.bMAHHCLCKAO_ = other.bMAHHCLCKAO_;
			this.basicInfo_ = ((other.basicInfo_ != null) ? other.basicInfo_.Clone() : null);
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06002B1F RID: 11039 RVA: 0x00076FB8 File Offset: 0x000751B8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public DIEEHLNJLON Clone()
		{
			return new DIEEHLNJLON(this);
		}

		// Token: 0x17000C5B RID: 3163
		// (get) Token: 0x06002B20 RID: 11040 RVA: 0x00076FC0 File Offset: 0x000751C0
		// (set) Token: 0x06002B21 RID: 11041 RVA: 0x00076FC8 File Offset: 0x000751C8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public PunkLordBattleRecordList AGBKKKNDOGO
		{
			get
			{
				return this.aGBKKKNDOGO_;
			}
			set
			{
				this.aGBKKKNDOGO_ = value;
			}
		}

		// Token: 0x17000C5C RID: 3164
		// (get) Token: 0x06002B22 RID: 11042 RVA: 0x00076FD1 File Offset: 0x000751D1
		// (set) Token: 0x06002B23 RID: 11043 RVA: 0x00076FD9 File Offset: 0x000751D9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public PunkLordAttackerStatus GNFGHEFOPLB
		{
			get
			{
				return this.gNFGHEFOPLB_;
			}
			set
			{
				this.gNFGHEFOPLB_ = value;
			}
		}

		// Token: 0x17000C5D RID: 3165
		// (get) Token: 0x06002B24 RID: 11044 RVA: 0x00076FE2 File Offset: 0x000751E2
		// (set) Token: 0x06002B25 RID: 11045 RVA: 0x00076FEA File Offset: 0x000751EA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint BMAHHCLCKAO
		{
			get
			{
				return this.bMAHHCLCKAO_;
			}
			set
			{
				this.bMAHHCLCKAO_ = value;
			}
		}

		// Token: 0x17000C5E RID: 3166
		// (get) Token: 0x06002B26 RID: 11046 RVA: 0x00076FF3 File Offset: 0x000751F3
		// (set) Token: 0x06002B27 RID: 11047 RVA: 0x00076FFB File Offset: 0x000751FB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public PunkLordMonsterBasicInfo BasicInfo
		{
			get
			{
				return this.basicInfo_;
			}
			set
			{
				this.basicInfo_ = value;
			}
		}

		// Token: 0x06002B28 RID: 11048 RVA: 0x00077004 File Offset: 0x00075204
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as DIEEHLNJLON);
		}

		// Token: 0x06002B29 RID: 11049 RVA: 0x00077014 File Offset: 0x00075214
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(DIEEHLNJLON other)
		{
			return other != null && (other == this || (object.Equals(this.AGBKKKNDOGO, other.AGBKKKNDOGO) && this.GNFGHEFOPLB == other.GNFGHEFOPLB && this.BMAHHCLCKAO == other.BMAHHCLCKAO && object.Equals(this.BasicInfo, other.BasicInfo) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06002B2A RID: 11050 RVA: 0x00077088 File Offset: 0x00075288
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.aGBKKKNDOGO_ != null)
			{
				num ^= this.AGBKKKNDOGO.GetHashCode();
			}
			if (this.GNFGHEFOPLB != PunkLordAttackerStatus.None)
			{
				num ^= this.GNFGHEFOPLB.GetHashCode();
			}
			if (this.BMAHHCLCKAO != 0U)
			{
				num ^= this.BMAHHCLCKAO.GetHashCode();
			}
			if (this.basicInfo_ != null)
			{
				num ^= this.BasicInfo.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06002B2B RID: 11051 RVA: 0x00077112 File Offset: 0x00075312
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06002B2C RID: 11052 RVA: 0x0007711A File Offset: 0x0007531A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06002B2D RID: 11053 RVA: 0x00077124 File Offset: 0x00075324
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.basicInfo_ != null)
			{
				output.WriteRawTag(58);
				output.WriteMessage(this.BasicInfo);
			}
			if (this.GNFGHEFOPLB != PunkLordAttackerStatus.None)
			{
				output.WriteRawTag(80);
				output.WriteEnum((int)this.GNFGHEFOPLB);
			}
			if (this.aGBKKKNDOGO_ != null)
			{
				output.WriteRawTag(106);
				output.WriteMessage(this.AGBKKKNDOGO);
			}
			if (this.BMAHHCLCKAO != 0U)
			{
				output.WriteRawTag(112);
				output.WriteUInt32(this.BMAHHCLCKAO);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06002B2E RID: 11054 RVA: 0x000771B8 File Offset: 0x000753B8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.aGBKKKNDOGO_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.AGBKKKNDOGO);
			}
			if (this.GNFGHEFOPLB != PunkLordAttackerStatus.None)
			{
				num += 1 + CodedOutputStream.ComputeEnumSize((int)this.GNFGHEFOPLB);
			}
			if (this.BMAHHCLCKAO != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.BMAHHCLCKAO);
			}
			if (this.basicInfo_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.BasicInfo);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06002B2F RID: 11055 RVA: 0x00077240 File Offset: 0x00075440
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(DIEEHLNJLON other)
		{
			if (other == null)
			{
				return;
			}
			if (other.aGBKKKNDOGO_ != null)
			{
				if (this.aGBKKKNDOGO_ == null)
				{
					this.AGBKKKNDOGO = new PunkLordBattleRecordList();
				}
				this.AGBKKKNDOGO.MergeFrom(other.AGBKKKNDOGO);
			}
			if (other.GNFGHEFOPLB != PunkLordAttackerStatus.None)
			{
				this.GNFGHEFOPLB = other.GNFGHEFOPLB;
			}
			if (other.BMAHHCLCKAO != 0U)
			{
				this.BMAHHCLCKAO = other.BMAHHCLCKAO;
			}
			if (other.basicInfo_ != null)
			{
				if (this.basicInfo_ == null)
				{
					this.BasicInfo = new PunkLordMonsterBasicInfo();
				}
				this.BasicInfo.MergeFrom(other.BasicInfo);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06002B30 RID: 11056 RVA: 0x000772E8 File Offset: 0x000754E8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06002B31 RID: 11057 RVA: 0x000772F4 File Offset: 0x000754F4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 80U)
				{
					if (num == 58U)
					{
						if (this.basicInfo_ == null)
						{
							this.BasicInfo = new PunkLordMonsterBasicInfo();
						}
						input.ReadMessage(this.BasicInfo);
						continue;
					}
					if (num == 80U)
					{
						this.GNFGHEFOPLB = (PunkLordAttackerStatus)input.ReadEnum();
						continue;
					}
				}
				else
				{
					if (num == 106U)
					{
						if (this.aGBKKKNDOGO_ == null)
						{
							this.AGBKKKNDOGO = new PunkLordBattleRecordList();
						}
						input.ReadMessage(this.AGBKKKNDOGO);
						continue;
					}
					if (num == 112U)
					{
						this.BMAHHCLCKAO = input.ReadUInt32();
						continue;
					}
				}
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x0400110D RID: 4365
		private static readonly MessageParser<DIEEHLNJLON> _parser = new MessageParser<DIEEHLNJLON>(() => new DIEEHLNJLON());

		// Token: 0x0400110E RID: 4366
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400110F RID: 4367
		public const int AGBKKKNDOGOFieldNumber = 13;

		// Token: 0x04001110 RID: 4368
		private PunkLordBattleRecordList aGBKKKNDOGO_;

		// Token: 0x04001111 RID: 4369
		public const int GNFGHEFOPLBFieldNumber = 10;

		// Token: 0x04001112 RID: 4370
		private PunkLordAttackerStatus gNFGHEFOPLB_;

		// Token: 0x04001113 RID: 4371
		public const int BMAHHCLCKAOFieldNumber = 14;

		// Token: 0x04001114 RID: 4372
		private uint bMAHHCLCKAO_;

		// Token: 0x04001115 RID: 4373
		public const int BasicInfoFieldNumber = 7;

		// Token: 0x04001116 RID: 4374
		private PunkLordMonsterBasicInfo basicInfo_;
	}
}
